package com.baizan.daka.base

import io.reactivex.disposables.CompositeDisposable


abstract class BasePresenter : IPresenter {


    protected val compositeDisposable by lazy { CompositeDisposable() }


    override fun detachView() {
        compositeDisposable.clear()
    }

    fun getCompositeDis(): CompositeDisposable = compositeDisposable
}